package com.ldy.gen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户账户登录日志
 * </p>
 *
 * @author ldy
 * @since 2023-09-29 15:02:29
 */
@Getter
@Setter
@TableName("business_user_login_log")
@ApiModel(value = "BusinessUserLoginLog对象", description = "商户账户登录日志")
public class BusinessUserLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户ID")
    @TableField("bs_id")
    private Long bsId;

    @ApiModelProperty("用户用户名（冗余）")
    @TableField("bs_name")
    private String bsName;

    @ApiModelProperty("登录IP地址")
    @TableField("ip")
    private String ip;

    @ApiModelProperty("浏览器内核")
    @TableField("user_agent")
    private String userAgent;

    @ApiModelProperty("登录时间")
    @TableField("login_time")
    private LocalDateTime loginTime;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("数据最后修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("数据创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty("数据更新者")
    @TableField("updater")
    private String updater;


}
